ODataV4List<T>

Represents an OData v4.0 collection response containing a list of entities with optional pagination metadata. Provides strongly-typed access to collection data with count and next link information.

Syntax

public class ODataV4List<T> : ODataV4ResponseBase

Inheritance

Properties

Items

[JsonPropertyName("value")]
public List<T> Items { get; set; }
Gets or sets the collection of entities returned by the OData service. This property contains the actual data payload of the response.

Returns

List<T>

ODataCount

[JsonPropertyName("@odata.count")]
public long ODataCount { get; set; }
Gets or sets the total number of entities in the collection, regardless of pagination. This property is only populated when the $count query option is used.

Returns

long
[JsonPropertyName("@odata.nextLink")]
public string ODataNextLink { get; set; }
Gets or sets the URL for retrieving the next page of results when server-side paging is enabled. This property is null if there are no more pages available.

Returns

string